import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/global.css'
import ElementUI from 'element-ui' //element-ui的全部组件
import 'element-ui/lib/theme-chalk/index.css'//element-ui的css
//import './assets/fonts/iconfont.css'  //导入字体图标
//import './assets/css/global.css'

 import axios from 'axios'
// //配置请求的根路径
 //axios.defaults.baseURL = 'http://127.0.0.1:8888/api/private/v1/'
 axios.defaults.baseURL = "http://localhost:8081"
Vue.prototype.$http = axios


Vue.use(ElementUI) //使用elementUI
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
